package com.beyondsoft.sabg.edu.model.db.core;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author Mo cr
 * @Date 2023/8/4
 */
@Entity
@Data
@EqualsAndHashCode(callSuper = true)
@Table(name = "nothing-privilege")
public class Privilege extends BasicEntity {
    private String name;
    @Column(unique = true)
    private String code;
    private String type;
    private String path;
    private Boolean hidden;
    private Long parentId;

}
